State Machine Diagram
It models the different states an object can be in and the transitions between those states.
Components:
States:Different statuses an object can have.Transitions:Triggers causing a change from one state to another.
[Available] --borrowBook()--> [Checked Out]
[Checked Out] --returnBook()--> [Available]